package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-13
 */
public class HouseWaitOut extends Model<HouseWaitOut> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 仓库id
     */
    private String houseId;

    /**
     * 关联单据是否关闭
     */
    private Boolean close;

    /**
     * 1待出库  2部分出库 3全部出库
     */
    private Integer status;

    /**
     * 1进货退货 2-销售 3-调拨 4-借出 5-借入归还
     */
    private Integer type;

    /**
     * 进退货单id
     */
    private String inGoodsRefundId;

    /**
     * 销售id
     */
    private String saleId;

    /**
     * 调拨单id
     */
    private String goodsTransferId;

    /**
     * 借出单id
     */
    private String borrowOutId;

    /**
     * 借入归还单id
     */
    private String borrowInBackId;

    private Date time;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }
    public Boolean getClose() {
        return close;
    }

    public void setClose(Boolean close) {
        this.close = close;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getInGoodsRefundId() {
        return inGoodsRefundId;
    }

    public void setInGoodsRefundId(String inGoodsRefundId) {
        this.inGoodsRefundId = inGoodsRefundId;
    }
    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }
    public String getGoodsTransferId() {
        return goodsTransferId;
    }

    public void setGoodsTransferId(String goodsTransferId) {
        this.goodsTransferId = goodsTransferId;
    }
    public String getBorrowOutId() {
        return borrowOutId;
    }

    public void setBorrowOutId(String borrowOutId) {
        this.borrowOutId = borrowOutId;
    }
    public String getBorrowInBackId() {
        return borrowInBackId;
    }

    public void setBorrowInBackId(String borrowInBackId) {
        this.borrowInBackId = borrowInBackId;
    }
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseWaitOut{" +
            "id=" + id +
            ", houseId=" + houseId +
            ", close=" + close +
            ", status=" + status +
            ", type=" + type +
            ", inGoodsRefundId=" + inGoodsRefundId +
            ", saleId=" + saleId +
            ", goodsTransferId=" + goodsTransferId +
            ", borrowOutId=" + borrowOutId +
            ", borrowInBackId=" + borrowInBackId +
            ", time=" + time +
            ", companyId=" + companyId +
        "}";
    }
}
